package com.magic.order.service;

import com.magic.common.pojo.PageResult;
import com.magic.order.pojo.Order;

/**
 * Created by zhuqin on 2021/2/20
 */
public interface OrderService {
    Long createOrder(Order order);
    Order queryById(Long id);
    PageResult<Order> queryUserOrderList(Integer page, Integer rows, Integer status);
    Boolean updateStatus(Long id, Integer status);
}
